import request from '@/utils/request'
/*
实操记录
 */


/**
 * 实操记录分页查询
 * @param data
 * @returns {AxiosPromise}
 */
export function page(data) {
  return request({
    url: '/api/ts/practice_record/page',
    method: 'post',
    data
  })
}


/**
 * 实操记录分页查询(结构)
 * @param data
 * @returns {AxiosPromise}
 */
export function listPracticeRecord(data) {
  return request({
    url: '/api/ts/practice_record/list_practice_record',
    method: 'post',
    data
  })
}


/**
 * 保存实操记录
 * @param data
 * @returns {AxiosPromise}
 */
export function save(data) {
  return request({
    url: '/api/ts/practice_record/save',
    method: 'post',
    data
  })
}


/**
 * 修改实操记录
 * @param data
 * @returns {AxiosPromise}
 */
export function update(data) {
  return request({
    url: '/api/ts/practice_record/update',
    method: 'post',
    data
  })
}

/**
 * 获取实操记录
 * @param data
 * @returns {AxiosPromise}
 */
export function get(data) {
  return request({
    url: '/api/ts/practice_record/get',
    method: 'post',
    data
  })
}



